package com.tencent.qf.team.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PerformanceSummaryPersonalListResponse {
    //日期:按天:yyyy-mm-dd;按月:yyyymm;历史总:all
    private String salesDate;
    //组织路径
    private String groupIdPath;
    //导师UID
    private String guideUid;
    private String uid;
    //订单数量
    private Integer salesOrderNum = 0;
    //订单金额(分)
    private BigDecimal salesAmt = BigDecimal.ZERO;
    //客单价(分)
    private BigDecimal salesAtv = BigDecimal.ZERO;
    //下单人数
    private Integer salesUserNum = 0;
    //总收益(分)
    private BigDecimal salesIncomeAmt = BigDecimal.ZERO;
    //自购收益(分)
    private BigDecimal salesSelfIncomeAmt = BigDecimal.ZERO;
    //推广收益(分)
    private BigDecimal salesPromoteIncomeAmt = BigDecimal.ZERO;
    //uid记录数
    private Integer uidNum = 0;
    //更新时间
    @JsonFormat(locale = "zh", timezone = "GMT", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //总收益(总基础+总加码)
    private BigDecimal salesIncomeAmtAll = BigDecimal.ZERO;
    //总收益（加码）
    private BigDecimal overchargeSalesIncomeAmt = BigDecimal.ZERO;
    //总推广(加码)
    private BigDecimal promoteIncomeAmtAll = BigDecimal.ZERO;
    //总自购(加码)
    private BigDecimal selfIncomeAmtAll = BigDecimal.ZERO;

    //实际基础加码总佣金字段（实际佣金收益）
    private BigDecimal actualSalesIncomeAmtAll = BigDecimal.ZERO;

    // 交易成功且待分佣金额
    private BigDecimal waitCommissionAmt = BigDecimal.ZERO;

    // 待分佣GMV
    private BigDecimal waitCommissionGmv = BigDecimal.ZERO;

    // 预计佣金 同 predictCommissionAmt
    private BigDecimal estimateIncome = BigDecimal.ZERO;
}
